package controller

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type HelloResponse struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

func Hello(ctx *gin.Context) {

	ctx.JSON(http.StatusOK, HelloResponse{Code: http.StatusOK, Message: "hello world"})
}
